﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;

namespace MyVoteMVC.Common.Specifications
{
    /// <summary>
    /// 规格接口，在vote中主要用以提供组合条件的构造
    /// </summary>
    /// <typeparam name="TEntity"></typeparam>
    public interface ISpecification<TEntity> where TEntity :class
    {
        Expression<Func<TEntity, bool>> IsSatisfiedBy();
    }
}
